<template>
    <Form :model="formItem" :label-width="80">
        <Form-item label="用户名">
            <Input v-model="formItem.username" placeholder="usercode"></Input>
        </Form-item>
        <Form-item label="密码">
            <Input v-model="formItem.password" placeholder="password"></Input>
        </Form-item>
        <Form-item>
            <Button type="primary">提交</Button>
            <Button type="ghost" style="margin-left: 8px">取消</Button>
        </Form-item>
    </Form>
</template>
<script>
    export default {
        data () {
            return {
                formItem: {
                    username:"",
                    password:""
                }
            }
        }
    }
</script>
